#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :run_new.py
# @Time      :2025/2/24 09:36
# @Author    :kk



def decol(fn):
    def inner():
        print("AAAAAAAAAA")
        return "哈哈哈" + fn() + "非常优秀"
    return inner

#第二个装饰器
def decol2(fn):
    def inner():
        print("BBBBBBBB")
        return  "呵呵呵" + fn() + "非常优秀"
    return inner
@decol
@decol2
def test1():
    print("---------")
    return "我是test1函数"

test1()

